package cn.yunhe.action;

import cn.yunhe.service.BookService;
import cn.yunhe.util.BaseAction;

public class DeleteBookAction extends BaseAction {
    private int bid;

    BookService bookService=new BookService();
    public String deleteBook(){
        boolean flag=bookService.deleteBook(bid);
        if (flag){
            return SUCCESS;
        }else{
            return null;
        }
    }

    public int getBid() {
        return bid;
    }

    public void setBid(int bid) {
        this.bid = bid;
    }
}
